package com.wufeng.service;

import com.wufeng.dto.ArticleUserDto;
import com.wufeng.entity.Article;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Hxh
* @description 针对表【article】的数据库操作Service
* @createDate 2023-12-19 21:39:01
*/
public interface ArticleService extends IService<Article> {
    Boolean addReplycountById(int articleId);

    Boolean minusReplycountById(int articleId);

    void incrementLikeCount(Integer articleid);

    void decrementLikeCount(Integer articleid);

    List<ArticleUserDto> getArticleListByCondition(Article article, Integer pageIndex, Integer pageSize);
}
